Skip to content

Fix manpage build with pandoc 2.0#228

Open
aroig wants to merge 2 commits intorkitover:masterfrom
aroig:gh/pandoc-2
Open

Fix manpage build with pandoc 2.0#228
aroig wants to merge 2 commits intorkitover:masterfrom
aroig:gh/pandoc-2

Conversation

@aroig
Copy link
Copy Markdown
Contributor

@aroig aroig commented Dec 2, 2017

Pandoc 2.0 removed -S from its command line arguments.

Also, the check for the availability of markdown_github was broken as pandoc --help no longer prints the list of input formats.

Fixes #227

aroig added 2 commits December 2, 2017 20:04
pandoc 2 has removed -S from the command line. Instead we must add
+smart as an extension to the format.
Pandoc no longer prints input formats in --help, so we cannot detect
availability of markdown_github this way.

There is a --list-input-formats command line argument, but it was
introduced recently.

So, let's check by version. markdown_github was introduced in version
1.10.
@XVilka
Copy link
Copy Markdown

XVilka commented Jun 19, 2019

@rkitover ping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--smart/-S has been removed. Use +smart or -smart extension instead.

2 participants